﻿
namespace AutoCompleteControl
{
    public class Word
    {
        #region CONSTRUCTORS

        public Word()
        {
        }

        public Word(int wordId)
        {
            WordId = wordId;
        }

        public Word(string text)
        {
            Text = text;
        }

        public Word(bool isDirty)
        {
            IsDirty = isDirty;
        }

        public Word(int wordId, string text)
        {
            WordId = wordId;
            Text = text;
        }


        public Word(int wordId, string text, bool isDirty)
        {
            WordId = wordId;
            Text = text;
            IsDirty = isDirty;
        }

        #endregion

        public int WordId { get; set; }
        public string Text { get; set; }
        public bool IsDirty { get; set; }
    }
}
